home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2009 February
/
PCWFEB09.iso
/
Software
/
Full
/
Paragon Drive Backup 9
/
DB90_SE_x64.msi
/
Data1.cab
/
_6623B6F02DF94960B9FF7B1C316D114B
< prev
next >
Wrap
Extensible Markup Language
|
2008-06-28
|
4KB
|
146 lines
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:msxsl="urn:schemas-microsoft-com:xslt"
version="1.0">
<xsl:output
method="html"
version="4.0"
encoding="UTF-8"
omit-xml-declaration="yes"
indent="yes"/>
<xsl:template match="/Root">
<html>
<xsl:variable name="FSName" select="PropertyBag/Property[@name='PROPID_HDM_INTERNALFSNAME']"/>
<xsl:variable
name="HasFSProps"
select="$FSName != 'UNKNOWN' and
$FSName != 'INVALID' and
$FSName != 'FREE' and
$FSName != 'NOTFORMATTED' and
$FSName != 'LSWAP' and
$FSName != 'LSWAP1' and
$FSName != 'BACKUPCAPSULE'"
/>
<center>
<table cellpadding="0" cellspacing="0" border="0" width="90%">
<tr>
<td>
<img src='<pss:image internal="PROPID_SMALLICON"/>'/>
</td>
<td valign="center" align="left" width="70%">
<b>
<xsl:value-of select="PropertyBag/Property[@name='PROPID_DISPLAYNAME']"/>
<xsl:if test="boolean($HasFSProps)">,
<xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_VOLUMELABEL']"/>
</xsl:if>
</b>
</td>
</tr>
<tr>
<td colspan="2" valign="bottom"><hr/></td>
</tr>
<tr>
<td>
<nobr>QT_TRANSLATE_NOOP("QObject", "Type:")</nobr>
</td>
<td>
<xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_TYPESTRING']"/>
</td>
</tr>
<xsl:if test="$FSName != 'UNKNOWN' and
$FSName != 'INVALID' and
$FSName != 'FREE' and
$FSName != 'NOTFORMATTED' and
$FSName != 'BACKUPCAPSULE'">
<tr>
<td>
<nobr>QT_TRANSLATE_NOOP("QObject", "File System:")</nobr>
</td>
<td>
<xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_FSNAME']"/>
</td>
</tr>
</xsl:if>
<xsl:if test="boolean($HasFSProps)">
<tr>
<td>
<nobr>QT_TRANSLATE_NOOP("QObject", "Serial Number:")</nobr>
</td>
<td>
<xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_SERIALNUMBER']"/>
</td>
</tr>
</xsl:if>
<tr>
<td>
<nobr>QT_TRANSLATE_NOOP("QObject", "Capacity:")</nobr>
</td>
<td>
<xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_SIZESTRING']"/>
</td>
</tr>
<xsl:if test="boolean($HasFSProps)">
<tr>
<td>
<nobr>QT_TRANSLATE_NOOP("QObject", "Used space:")</nobr>
</td>
<td>
<xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_DATASIZESTRING']"/>
</td>
</tr>
<tr>
<td>
<nobr>QT_TRANSLATE_NOOP("QObject", "Free space:")</nobr>
</td>
<td>
<xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_FREESIZESTRING']"/>
</td>
</tr>
<tr>
<td>
<nobr>QT_TRANSLATE_NOOP("QObject", "Sectors per cluster:")</nobr>
</td>
<td>
<xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_CLUSTERSIZE']"/>
</td>
</tr>
</xsl:if>
<tr>
<td>
<nobr>QT_TRANSLATE_NOOP("QObject", "First physical sector:")</nobr>
</td>
<td>
<xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_STARTINSECTORS']"/>
</td>
</tr>
<tr>
<td>
<nobr>QT_TRANSLATE_NOOP("QObject", "Last physical sector:")</nobr>
</td>
<td>
<xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_ENDINSECTORS']"/>
</td>
</tr>
</table>
</center>
</html>
</xsl:template>
</xsl:stylesheet>